Skip to content

Remove unused private_workforce arg#183

Open
jonopray wants to merge 1 commit into
mainfrom
remove_private_workforce
Open

Remove unused private_workforce arg#183
jonopray wants to merge 1 commit into
mainfrom
remove_private_workforce

Conversation

@jonopray

Copy link
Copy Markdown
Contributor

No description provided.

@jonopray jonopray requested a review from c-fang May 16, 2026 15:00

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b3ab41dd56

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread surge/projects.py
name: str,
payment_per_response: float = None,
private_workforce: bool = False,
instructions: str = None,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep accepting private_workforce for compatibility

For clients that still pass the previously documented private_workforce argument (including the example notebook before this change), this signature now raises TypeError: got an unexpected keyword argument 'private_workforce' before the SDK can create the project; positional callers also have later arguments shifted into the wrong parameters. If the field should no longer be sent to the API, keep the parameter as a deprecated no-op instead of removing it from the public method signature.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants